<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@ include file="../common/include/header.jsp" %>

<%@ page import="java.util.*,util.*" %>
<jsp:useBean id="menu" class="util.Menu" scope="session"></jsp:useBean>

<div style="width: 980px;">
<table border="0" cellpadding="0" cellspacing="0" width="980px">
	<tr>
		<td style="vertical-align: top;width: 180px;background-color: #6383c2;">
			<div style="width: 180px;height: 40px;background: black;color: white;font-weight: bold;text-align: center;padding-top: 20px;">
				<span>회원가입</span>
			</div>
		</td>
		
		<td style="text-align: center;width: 800px;background: #ffffff; vertical-align: top;">
		
<div id="signform" style="width: 800px;">
<table style="width: 800px;" cellpadding="0" cellspacing="0">
	<tr><td style="width: 600px;text-align: center;">
<html:form action="/signinaction" enctype="multipart/form-data">
<input type="hidden" name="dummy" value=""/>
	<table style="border-spacing: 1px;width: 500px;border: 1px solid #6383c2;">
		<tr>
			<td style="background-color: #6383c2;text-align: center;height: 25px;color: white;" colspan="2">
			<b>회원가입양식</b>
			</td>
		</tr>
		<tr>
			<td class="tdsignform">*아이디</td>
			<td align="left"><html:text property="mid" size="12" maxlength="12" styleClass="textinput" onkeyup="return validateID()" style="IME-MODE: disabled"/>
			<font color="red"><span id="dup"></span></font></td>
		</tr>
		<tr>
			<td class="tdsignform">*비밀번호</td>
			<td align="left"><html:password property="mpass" size="12" maxlength="12" styleClass="textinput" onkeyup="passValidate()" style="IME-MODE: disabled"/></td>
		</tr>
		<tr>
			<td class="tdsignform">*비밀번호 확인</td>
			<td align="left"><input type="password" name="mpass2" size="12" maxlength="12" class="textinput" onblur="passConfirm()" style="IME-MODE: disabled">
			<span id="cpw"></span></td>
		</tr>
		<tr>
			<td class="tdsignform">*이름</td>
			<td align="left"><html:text property="mname" size="12" maxlength="12" styleClass="textinput" /></td>
		</tr>
		<tr>
			<td class="tdsignform">*이메일</td>
			<td align="left"><html:text property="memail" size="40" maxlength="50" styleClass="textinput" style="IME-MODE: disabled"/>
			공개<html:checkbox property="moemail"/>
			<logic:messagesPresent><div><html:messages id="errors" property="error.memail"><font color="red">
			<bean:write name="errors"></bean:write></font></html:messages></div></logic:messagesPresent>
			</td>
		</tr>
		<tr>
			<td class="tdsignform">*생년월일</td>
			<td align="left"><input type="text" size="4" maxlength="4" name="birthy" class="textinput">년
			<input type="text" size="2" maxlength="2" name="birthm" class="textinput">월
			<input type="text" size="2" maxlength="2" name="birthd" class="textinput" onblur="return validateDay()">일
			<html:hidden property="mbirth" value="19990304" />
			공개<html:checkbox property="mobirth"/></td>
		</tr>
		<tr>
			<td class="tdsignform">주소</td>
			<td align="left"><html:text property="maddressh" size="40" styleClass="textinput"></html:text>
			공개<html:checkbox property="moaddressh"/>
			</td>
		</tr>
		<tr>
			<td class="tdsignform">전화번호</td>
			<td align="left"><html:text property="mphoneh" size="20" styleClass="textinput"></html:text>
			공개<html:checkbox property="mophoneh"/></td>
		</tr>
		<tr>
			<td class="tdsignform">사무실주소</td>
			<td align="left"><html:text property="maddresso" size="40" styleClass="textinput"></html:text>
			공개<html:checkbox property="moaddresso"/>
			</td>
		</tr>
		<tr>
			<td class="tdsignform">사무실전화번호</td>
			<td align="left"><html:text property="mphoneo" size="20" styleClass="textinput"></html:text>
			공개<html:checkbox property="mophoneo"/></td>
		</tr>
		<tr>
			<td class="tdsignform">자기소개</td>
			<td align="left"><html:textarea property="mintro" cols="42" rows="4" styleClass="textinput"></html:textarea>
			<div>공개<html:checkbox property="mointro"/></div></td>
		</tr>
		<tr>
			<td class="tdsignform">사진</td>
			<td align="left"><html:file property="mphoto" styleClass="textinput"></html:file>
			공개<html:checkbox property="mophoto"/></td>
		</tr>
		<tr>
			<td class="tdsignform">메일링 리스트</td>
			<td align="left">가입<html:checkbox property="momailing"/></td>
		</tr>
		<tr>
			<td align="right" colspan="2"><font color="red">*표는  필수 입력 항목입니다.
			</font><html:submit onclick="return validateAll()">가입신청</html:submit>
			</td>
		</tr>
	</table>
<html:hidden property="method" value="signinaction"/>
</html:form>
</td>
	<td style="width: 200px; height: 500px;vertical-align: top;"><img src="<%=imagePath %>memberjoin.jpg" border="0"/></td>
</tr>
</div>
		</td>
	</tr>
</table>
</div>
<script src="../common/jscript/signinscript.js" type="text/javascript"> </script>
<%@ include file="../common/include/footer.jsp" %>